<?php

$this->menu=array(
	array('label'=>'Create Mission', 'url'=>array('create')),
	array('label'=>'Manage Mission', 'url'=>array('admin')),
);?>

<div class="span-22" id="page">
<?php $box = $this->beginWidget('bootstrap.widgets.TbBox', array(
	'title' => 'Mission List',
	'htmlOptions' => array('class'=>'bootstrap-widget-table')
));?>

<?php $this->widget('bootstrap.widgets.TbGridView', array(
	'type'=>'bordered',
	'dataProvider'=>$dataProvider,
	'template'=>"{items}\n{pager}",
	'columns'=>array(
			'mission_name',
			'mission_location',
			'contactName',
			'mission_contact_mobile',
		array(
			'class'=>'bootstrap.widgets.TbButtonColumn',
			'template'=>'{view}',
			'buttons'=>array(
					'view'=>array('icon'=>'icon-search'),
				),
		),
	),
)); ?>
</div>
<?php $this->endWidget();?>
